Class FieldSetsVariableCommand
Defined in File FieldSetsVariableCommand.h
Inheritance Relationships
Base Type
public sick::cola2::VariableCommand
(Class VariableCommand)
Class Documentation
-
class FieldSetsVariableCommand : public sick::cola2::VariableCommand
Command to read the type code of the sensor.
Public Types
-
typedef sick::cola2::VariableCommand base_class
Typedef to reference the base class.
Public Functions
-
FieldSetsVariableCommand(Cola2Session &session, datastructure::FieldSets &field_sets)
Constructor of the Command.
- Parameters:
session – The current cola2 session.
field_sets – Reference to the user name variable, which will be written on execution.
-
bool canBeExecutedWithoutSessionID() const
Returns if the command can be executed without a session ID. Will return false for most commands except the commands to establish a connection.
- Returns:
If the command needs a session ID to be executed.
-
virtual bool processReply()
Processes the return from the sensor.
- Returns:
If processing of the returned data was successful.
-
typedef sick::cola2::VariableCommand base_class