VSM C++ SDK
Vehicle Specific Modules SDK
ugcs::vsm::Vsm_command Class Reference
Inheritance diagram for ugcs::vsm::Vsm_command:

Public Types

typedef std::shared_ptr< Vsm_commandPtr
 Pointer type.
 
typedef std::weak_ptr< Vsm_commandWeak_ptr
 Pointer type.
 

Public Member Functions

 Vsm_command (std::string name, bool as_command, bool in_mission)
 
Property::Ptr Add_parameter (std::string, ugcs::vsm::proto::Field_semantic semantic=ugcs::vsm::proto::FIELD_SEMANTIC_DEFAULT)
 
Property::Ptr Add_parameter (std::string name, Property::Value_type type)
 
void Register (ugcs::vsm::proto::Register_command *command)
 
void Set_capabilities (ugcs::vsm::proto::Command_availability *msg)
 
void Set_enabled (bool is_enabled=true)
 
void Set_available (bool is_available=true)
 
int Get_id ()
 
bool Is_capability_state_dirty ()
 
Property_list Build_parameter_list (const ugcs::vsm::proto::Device_command &cmd)
 
std::string Get_name ()
 
bool Is_mission_item ()
 

Static Public Member Functions

template<typename... Args>
static Ptr Create (Args &&...args)
 Create an instance. More...
 

Friends

class Device
 

Member Function Documentation

template<typename... Args>
static Ptr ugcs::vsm::Vsm_command::Create ( Args &&...  args)
inlinestatic

Create an instance.


The documentation for this class was generated from the following file: